#region Using Directives and Copyright Notice

// Copyright (c) 2007-2010, Computer Consultancy Pty Ltd
// All rights reserved.
// 
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//     * Redistributions of source code must retain the above copyright
//       notice, this list of conditions and the following disclaimer.
//     * Redistributions in binary form must reproduce the above copyright
//       notice, this list of conditions and the following disclaimer in the
//       documentation and/or other materials provided with the distribution.
//     * Neither the name of the Computer Consultancy Pty Ltd nor the
//       names of its contributors may be used to endorse or promote products
//       derived from this software without specific prior written permission.
// 
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
// ARE DISCLAIMED. IN NO EVENT SHALL COMPUTER CONSULTANCY PTY LTD BE LIABLE 
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.

using System;
using System.Collections.Generic;
using System.Text;

#endregion

namespace Interlace.Network
{
    internal enum DnsError
    {
        DNS_ERROR_RCODE_FORMAT_ERROR = 9001,
        DNS_ERROR_RCODE_SERVER_FAILURE = 9002,
        DNS_ERROR_RCODE_NAME_ERROR = 9003,
        DNS_ERROR_RCODE_NOT_IMPLEMENTED = 9004,
        DNS_ERROR_RCODE_REFUSED = 9005,
        DNS_ERROR_RCODE_YXDOMAIN = 9006,
        DNS_ERROR_RCODE_YXRRSET = 9007,
        DNS_ERROR_RCODE_NXRRSET = 9008,
        DNS_ERROR_RCODE_NOTAUTH = 9009,
        DNS_ERROR_RCODE_NOTZONE = 9010,
        DNS_ERROR_RCODE_BADSIG = 9016,
        DNS_ERROR_RCODE_BADKEY = 9017,
        DNS_ERROR_RCODE_BADTIME = 9018,
        DNS_INFO_NO_RECORDS = 9501,
        DNS_ERROR_BAD_PACKET = 9502,
        DNS_ERROR_NO_PACKET = 9503,
        DNS_ERROR_RCODE = 9504,
        DNS_ERROR_UNSECURE_PACKET = 9505,
        DNS_ERROR_INVALID_TYPE = 9551,
        DNS_ERROR_INVALID_IP_ADDRESS = 9552,
        DNS_ERROR_INVALID_PROPERTY = 9553,
        DNS_ERROR_TRY_AGAIN_LATER = 9554,
        DNS_ERROR_NOT_UNIQUE = 9555,
        DNS_ERROR_NON_RFC_NAME = 9556,
        DNS_STATUS_FQDN = 9557,
        DNS_STATUS_DOTTED_NAME = 9558,
        DNS_STATUS_SINGLE_PART_NAME = 9559,
        DNS_ERROR_INVALID_NAME_CHAR = 9560,
        DNS_ERROR_NUMERIC_NAME = 9561,
        DNS_ERROR_ZONE_DOES_NOT_EXIST = 9601,
        DNS_ERROR_NO_ZONE_INFO = 9602,
        DNS_ERROR_INVALID_ZONE_OPERATION = 9603,
        DNS_ERROR_ZONE_CONFIGURATION_ERROR = 9604,
        DNS_ERROR_ZONE_HAS_NO_SOA_RECORD = 9605,
        DNS_ERROR_ZONE_HAS_NO_NS_RECORDS = 9606,
        DNS_ERROR_ZONE_LOCKED = 9607,
        DNS_ERROR_ZONE_CREATION_FAILED = 9608,
        DNS_ERROR_ZONE_ALREADY_EXISTS = 9609,
        DNS_ERROR_AUTOZONE_ALREADY_EXISTS = 9610,
        DNS_ERROR_INVALID_ZONE_TYPE = 9611,
        DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP = 9612,
        DNS_ERROR_ZONE_NOT_SECONDARY = 9613,
        DNS_ERROR_NEED_SECONDARY_ADDRESSES = 9614,
        DNS_ERROR_WINS_INIT_FAILED = 9615,
        DNS_ERROR_NEED_WINS_SERVERS = 9616,
        DNS_ERROR_NBSTAT_INIT_FAILED = 9617,
        DNS_ERROR_SOA_DELETE_INVALID = 9618,
        DNS_ERROR_PRIMARY_REQUIRES_DATAFILE = 9651,
        DNS_ERROR_INVALID_DATAFILE_NAME = 9652,
        DNS_ERROR_DATAFILE_OPEN_FAILURE = 9653,
        DNS_ERROR_FILE_WRITEBACK_FAILED = 9654,
        DNS_ERROR_DATAFILE_PARSING = 9655,
        DNS_ERROR_RECORD_DOES_NOT_EXIST = 9701,
        DNS_ERROR_RECORD_FORMAT = 9702,
        DNS_ERROR_NODE_CREATION_FAILED = 9703,
        DNS_ERROR_UNKNOWN_RECORD_TYPE = 9704,
        DNS_ERROR_RECORD_TIMED_OUT = 9705,
        DNS_ERROR_NAME_NOT_IN_ZONE = 9706,
        DNS_ERROR_CNAME_LOOP = 9707,
        DNS_ERROR_NODE_IS_CNAME = 9708,
        DNS_ERROR_CNAME_COLLISION = 9709,
        DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT = 9710,
        DNS_ERROR_RECORD_ALREADY_EXISTS = 9711,
        DNS_ERROR_SECONDARY_DATA = 9712,
        DNS_ERROR_NO_CREATE_CACHE_DATA = 9713,
        DNS_ERROR_NAME_DOES_NOT_EXIST = 9714,
        DNS_WARNING_PTR_CREATE_FAILED = 9715,
        DNS_WARNING_DOMAIN_UNDELETED = 9716,
        DNS_ERROR_DS_UNAVAILABLE = 9717,
        DNS_ERROR_DS_ZONE_ALREADY_EXISTS = 9718,
        DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE = 9719,
        DNS_INFO_AXFR_COMPLETE = 9751,
        DNS_ERROR_AXFR = 9752,
        DNS_INFO_ADDED_LOCAL_WINS = 9753,
        DNS_STATUS_CONTINUE_NEEDED = 9801,
        DNS_ERROR_NO_TCPIP = 9851,
        DNS_ERROR_NO_DNS_SERVERS = 9852,
    }

}
